﻿namespace ZenWplExporter
{
	/// <summary>
	/// Defines Command Line Parser
	/// </summary>
	internal class ArgumentParser<T> : CommandLineParser.CommandLineParser where T : class, new()
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="ArgumentParser&lt;T&gt;"/> class.
		/// </summary>
		public ArgumentParser()
		{
			Values = new T();
			ExtractArgumentAttributes(Values);
		}

		/// <summary>
		/// Gets the parsed values object.
		/// </summary>
		/// <value>The values.</value>
		public T Values { get; private set; }
	}
}